import Cookies from 'js-cookie'

export const PUB_KEY = 'ua_public_key'

export const getPubKey = () => {
  return Cookies.get(PUB_KEY)
}

export const setPubKey = (key) => {
  return Cookies.set(PUB_KEY, key)
}

export const removePubKey = () => {
  return Cookies.remove(PUB_KEY)
}
